﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Test1
{
    class Node<T>
    {
        public Node<T> next
        {
            get;
            set;
        }
        public T data
        {
            get;
            set;
        }
        public Node(T t)
        {
            next = null;
            data = t;
        }
    }
}
